import type { PageFilter } from ".";

/** 家居商品模型 */
export type Good = {
  id: number;
  created_at: string;
  updated_at: string;
  deleted_at?: string | null;
  material: string;
  size: string;
  name: string;
  description: string;
  type: string;
  price: number;
  img: string;
};

export type GoodFilter = {
  name?: string;
  type?: string;
} & PageFilter;

export type GoodModify = {
  id?: number;
  name: string;
  description?: string;
  material?: string;
  size?: string;
  type: string;
  price: number | undefined;
  img: string;
};
